Optimal. Leaf size=107 \[ \frac{b^{3/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^2}}{\sqrt{b c-a d}}\right )}{a (b c-a d)^{3/2}}-\frac{d}{c \sqrt{c+d x^2} (b c-a d)}-\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^2}}{\sqrt{c}}\right )}{a c^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.112166, antiderivative size = 107, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.208, Rules used = {446, 85, 156, 63, 208} \[ \frac{b^{3/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^2}}{\sqrt{b c-a d}}\right )}{a (b c-a d)^{3/2}}-\frac{d}{c \sqrt{c+d x^2} (b c-a d)}-\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^2}}{\sqrt{c}}\right )}{a c^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 446
Rule 85
Rule 156
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{1}{x \left (a+b x^2\right ) \left (c+d x^2\right )^{3/2}} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{x (a+b x) (c+d x)^{3/2}} \, dx,x,x^2\right )\\ &=-\frac{d}{c (b c-a d) \sqrt{c+d x^2}}+\frac{\operatorname{Subst}\left (\int \frac{b c-a d-b d x}{x (a+b x) \sqrt{c+d x}} \, dx,x,x^2\right )}{2 c (b c-a d)}\\ &=-\frac{d}{c (b c-a d) \sqrt{c+d x^2}}+\frac{\operatorname{Subst}\left (\int \frac{1}{x \sqrt{c+d x}} \, dx,x,x^2\right )}{2 a c}-\frac{b^2 \operatorname{Subst}\left (\int \frac{1}{(a+b x) \sqrt{c+d x}} \, dx,x,x^2\right )}{2 a (b c-a d)}\\ &=-\frac{d}{c (b c-a d) \sqrt{c+d x^2}}+\frac{\operatorname{Subst}\left (\int \frac{1}{-\frac{c}{d}+\frac{x^2}{d}} \, dx,x,\sqrt{c+d x^2}\right )}{a c d}-\frac{b^2 \operatorname{Subst}\left (\int \frac{1}{a-\frac{b c}{d}+\frac{b x^2}{d}} \, dx,x,\sqrt{c+d x^2}\right )}{a d (b c-a d)}\\ &=-\frac{d}{c (b c-a d) \sqrt{c+d x^2}}-\frac{\tanh ^{-1}\left (\frac{\sqrt{c+d x^2}}{\sqrt{c}}\right )}{a c^{3/2}}+\frac{b^{3/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x^2}}{\sqrt{b c-a d}}\right )}{a (b c-a d)^{3/2}}\\ \end{align*}
Mathematica [C] time = 0.0293199, size = 87, normalized size = 0.81 \[ \frac{(b c-a d) \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};\frac{d x^2}{c}+1\right )-b c \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};\frac{b \left (d x^2+c\right )}{b c-a d}\right )}{a c \sqrt{c+d x^2} (b c-a d)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.012, size = 681, normalized size = 6.4 \begin{align*}{\frac{1}{ac}{\frac{1}{\sqrt{d{x}^{2}+c}}}}-{\frac{1}{a}\ln \left ({\frac{1}{x} \left ( 2\,c+2\,\sqrt{c}\sqrt{d{x}^{2}+c} \right ) } \right ){c}^{-{\frac{3}{2}}}}+{\frac{b}{2\,a \left ( ad-bc \right ) }{\frac{1}{\sqrt{ \left ( x+{\frac{1}{b}\sqrt{-ab}} \right ) ^{2}d-2\,{\frac{d\sqrt{-ab}}{b} \left ( x+{\frac{\sqrt{-ab}}{b}} \right ) }-{\frac{ad-bc}{b}}}}}}+{\frac{dx}{2\,a \left ( ad-bc \right ) c}\sqrt{-ab}{\frac{1}{\sqrt{ \left ( x+{\frac{1}{b}\sqrt{-ab}} \right ) ^{2}d-2\,{\frac{d\sqrt{-ab}}{b} \left ( x+{\frac{\sqrt{-ab}}{b}} \right ) }-{\frac{ad-bc}{b}}}}}}-{\frac{b}{2\,a \left ( ad-bc \right ) }\ln \left ({ \left ( -2\,{\frac{ad-bc}{b}}-2\,{\frac{d\sqrt{-ab}}{b} \left ( x+{\frac{\sqrt{-ab}}{b}} \right ) }+2\,\sqrt{-{\frac{ad-bc}{b}}}\sqrt{ \left ( x+{\frac{\sqrt{-ab}}{b}} \right ) ^{2}d-2\,{\frac{d\sqrt{-ab}}{b} \left ( x+{\frac{\sqrt{-ab}}{b}} \right ) }-{\frac{ad-bc}{b}}} \right ) \left ( x+{\frac{1}{b}\sqrt{-ab}} \right ) ^{-1}} \right ){\frac{1}{\sqrt{-{\frac{ad-bc}{b}}}}}}+{\frac{b}{2\,a \left ( ad-bc \right ) }{\frac{1}{\sqrt{ \left ( x-{\frac{1}{b}\sqrt{-ab}} \right ) ^{2}d+2\,{\frac{d\sqrt{-ab}}{b} \left ( x-{\frac{\sqrt{-ab}}{b}} \right ) }-{\frac{ad-bc}{b}}}}}}-{\frac{dx}{2\,a \left ( ad-bc \right ) c}\sqrt{-ab}{\frac{1}{\sqrt{ \left ( x-{\frac{1}{b}\sqrt{-ab}} \right ) ^{2}d+2\,{\frac{d\sqrt{-ab}}{b} \left ( x-{\frac{\sqrt{-ab}}{b}} \right ) }-{\frac{ad-bc}{b}}}}}}-{\frac{b}{2\,a \left ( ad-bc \right ) }\ln \left ({ \left ( -2\,{\frac{ad-bc}{b}}+2\,{\frac{d\sqrt{-ab}}{b} \left ( x-{\frac{\sqrt{-ab}}{b}} \right ) }+2\,\sqrt{-{\frac{ad-bc}{b}}}\sqrt{ \left ( x-{\frac{\sqrt{-ab}}{b}} \right ) ^{2}d+2\,{\frac{d\sqrt{-ab}}{b} \left ( x-{\frac{\sqrt{-ab}}{b}} \right ) }-{\frac{ad-bc}{b}}} \right ) \left ( x-{\frac{1}{b}\sqrt{-ab}} \right ) ^{-1}} \right ){\frac{1}{\sqrt{-{\frac{ad-bc}{b}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b x^{2} + a\right )}{\left (d x^{2} + c\right )}^{\frac{3}{2}} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 3.32774, size = 2030, normalized size = 18.97 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 10.612, size = 94, normalized size = 0.88 \begin{align*} \frac{d}{c \sqrt{c + d x^{2}} \left (a d - b c\right )} + \frac{b \operatorname{atan}{\left (\frac{\sqrt{c + d x^{2}}}{\sqrt{\frac{a d - b c}{b}}} \right )}}{a \sqrt{\frac{a d - b c}{b}} \left (a d - b c\right )} + \frac{\operatorname{atan}{\left (\frac{\sqrt{c + d x^{2}}}{\sqrt{- c}} \right )}}{a c \sqrt{- c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12866, size = 158, normalized size = 1.48 \begin{align*} -{\left (\frac{b^{2} \arctan \left (\frac{\sqrt{d x^{2} + c} b}{\sqrt{-b^{2} c + a b d}}\right )}{{\left (a b c d - a^{2} d^{2}\right )} \sqrt{-b^{2} c + a b d}} + \frac{1}{{\left (b c^{2} - a c d\right )} \sqrt{d x^{2} + c}} - \frac{\arctan \left (\frac{\sqrt{d x^{2} + c}}{\sqrt{-c}}\right )}{a \sqrt{-c} c d}\right )} d \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]